package com.ggy.babybed.socketwork;

/**
 * @author gonggy
 *
 */
public interface NetworkConstant {

    String DEFAULT_HOST = "127.0.0.1";
    int DEFAULT_PORT = 8088;
    String DEFAULT_ENCODING = "UTF-8";
    String SEPARATOR = " ";
    String END_FLAG = "\r\n";
    String SUCCESS_CODE = "ok";
    String ERROR_CODE = "error";
    int DEFAULT_TIMEOUT = 5000;
    int DEFAULT_WAITTIME = 10000;
    String DEFAULT_HEARTBEAT_PACKET = "@baby";

    String NONE = "NONE";
    String WIFI = "WIFI";
    String _2G = "2G";
    String _3G = "3G";
    String _4G = "4G";
}

